From 45ac4f252315da812125f450e9004decfed21e92 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 7 Apr 2009 23:51:52 -0400 Subject: [PATCH] Improve focus handling in the print dialog Move the focus to the range entry when selecting the "Pages". --- gtk/gtkprintunixdialog.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c index 21c1efed69..e88852e456 100644 --- a/gtk/gtkprintunixdialog.c +++ b/gtk/gtkprintunixdialog.c @@ -1695,6 +1695,9 @@ update_range_sensitivity (GtkWidget *button, active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)); gtk_widget_set_sensitive (range, active); + + if (active) + gtk_widget_grab_focus (range); } static void -- 2.30.2